package creational.abstractfactory;

//Concrete ProductA2
public class Lion extends Carnivore {

	public void eat(Herbivore h) {
		System.out.println(this.getClass().getSimpleName() + " eats "
				+ h.getClass().getSimpleName());
	}

}
